using Elasticsearch.Net;
using IceDog.ElasticSearchClient.MSTest.Models;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace IceDog.ElasticSearchClient.MSTest.ESNet
{
    [TestClass]
    public class UnitTest1
    {
        [TestMethod]
        public void TestMethod11()
        {
            //ElasticLowLevelClient client = ESNetClientProvider.GetElasticLowLevelClient();
            //object tweet = client.GetSource<object>("tweet_index", "tweet", "1", new SourceRequestParameters()
            //{
            //    Routing = "routingvalue"
            //});
        }
        [TestMethod]
        public void TestMethod1()
        {
            //ElasticLowLevelClient client = ESNetClientProvider.GetElasticLowLevelClient();
            //object tweet = client.GetSource<object>("tweet_index", "tweet", "1", new SourceRequestParameters()
            //{
            //    Routing = "routingvalue"
            //});
        }

        [TestMethod]
        public void TestMethod2()
        {
//            ElasticLowLevelClient client = ESNetClientProvider.GetElasticLowLevelClient();
//            client.GetSource("myindex", "mytype", "1", qs => qs
//       .Routing("routingvalue")
//       .Add("key", "value")
//);
        }

        [TestMethod]
        public void TestMethod3()
        {
            //ElasticLowLevelClient client = ESNetClientProvider.GetElasticLowLevelClient();
            //var myJson = @"{ ""hello"" : ""world"" }";
            //client.Index("myindex", "mytype", "1", myJson);
        }

        [TestMethod]
        public void TestMethod4()
        {

        }

        [TestMethod]
        public void TestMethod5()
        {

        }

        [TestMethod]
        public void TestMethod6()
        {

        }
        [TestMethod]
        public void TestMethodX()
        {

        }
    }
}
